package org.aceor.mddal.gateway.datatype;

import org.aceor.mddal.gateway.datatype.cal.Calculator;
import org.aceor.mddal.gateway.datatype.impl.*;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.sql.Timestamp;
import java.util.Comparator;
import java.util.Date;

/**
 * Created by lxue on 16/4/16.
 */
public interface DataType<DATA> extends Comparator<DATA> {
    DataType<Integer> integerDataType = new IntegerType();
    DataType<Long> longDataType = new LongType();
    DataType<Date> dateDataType = new DateType();
    DataType<Timestamp> timestampDataType = new TimestampType();
    DataType<BigDecimal> bigDecimalDataType = new BigDecimalType();
    DataType<BigInteger> bigIntegerDataType = new BigIntegerType();

    Calculator getCalculator();
}
